package com.ctsi.commons.event;

import com.ctsi.commons.util.ObjectType;
import com.ctsi.commons.util.factory.ObjectFact;

public class DefaultObserverFac implements ObjectFact {

    @Override
	public Object createObject(String classKey) {
		try {
			return (Observer) ObjectType.getInstance(classKey);
		} catch ( Exception e) {
            throw new RuntimeException(e);
		}  
	
	}

}
